<template>
  <hcTab v-model="activeTab" :head="head"></hcTab>
</template>
<script setup>
import config from "./config/index.vue";
import device from "./device/index.vue";
import { ref } from "vue";
let head = [
  { id: "device", text: "设备管理", component: device },
  { id: "config", text: "系统配置", component: config },
];
let activeTab = ref("device");
</script>
<style lang="scss" scoped></style>
